<%@ include file="/taglibs.jsp"%>

<div class="pageContent">
	<form method="post" action="user_updatePwd.do" class="pageForm required-validate"
		onsubmit="return changPwd(this);">
		<div class="pageFormContent" layoutH="56">
			<dl>
				<dt>
					请输入原密码：
				</dt>
				<dd>
					<input id="oldPwd" type="password" name="oldPwd" class="required" />
				</dd>
			</dl>
			<dl></dl>
			<dl>
				<dt>
					请输入新密码：
				</dt>
				<dd>
					<input id="newPwd" type="password" name="newPwd"
						class="required alphanumeric" minlength="6" maxlength="20"
						alt="字母、数字、下划线 6-20位" />
				</dd>
			</dl>
			<dl></dl>
			<dl>
				<dt>
					确认密码：
				</dt>
				<dd>
					<input type="password" name="password" class="required"
						equalto="#newPwd" />
				</dd>
			</dl>
		</div>
		<div class="formBar">
			<ul>
				<li>
					<div class="buttonActive">
						<div class="buttonContent">
							<button type="submit">
								提交
							</button>
						</div>
					</div>
				</li>
				<li>
					<div class="button">
						<div class="buttonContent">
							<button type="button" class="close">
								取消
							</button>
						</div>
					</div>
				</li>
			</ul>
		</div>
	</form>
</div>

<script type="text/javascript">
	
	function changPwd(form){
		var $form = $(form);
		if (!$form.valid()) {
			return false;
		}
		reNameListNode(navTab.getCurrentPanel());
		return validateCallback(form,callBackCloseCurrrentPanel);
	}
</script>